#!/usr/bin/php
<?PHP

$s = file_get_contents('function.strstr.html');

$m = array();
preg_match("/<title>(.*)<\/title>/", $s, $m);
preg_match('/<div class="up"><a href="(.*)">(.*)<\/a><\/div>/', $s, $m);

print_r($m);

